/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package UsoDeOperadores;

/**
 *
 * @author Denis
 */
public class Operadores {
    public static void main (String[] args){
        //Sufijo
        int x = 3;
        int valor1 = x++ * 10;
       
        System.out.println(valor1);
        System.out.println(x);
        
        //Prefijo
        int y = 3;
        int valor2 = ++y * 10;
       
        System.out.println(valor2);
        System.out.println(y);
        
    }
}
